<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<body>

<script type="text/javascript">

var test;
test=$('#midcheck').datagrid('load',{
	code: 'thesistitle_type',
	name: 'thesistitle_name'
	
});
$(function(){
	    $('#date').datebox({    
   		 required:true 
		}) ;
		aler("eee");
		console.info("eeee");
	document.getElementById("medium_workload").value=request.getAttribute("medium_workload");
	document.getElementById("medium_measure").innerText=document.getElementById("medium_measure").innerText+"\ninnerText is ok!";
	}
    );
  
			
function save(){
			console.info($('#dd'));
 			var name=document.getElementById("name").value;
 			var type = $('#type').combobox('getValue');
 			var method = $('#method').combobox('getValue');
 			var stu = $('#stu').combobox('getValue');
			$.ajax({
							
							type:'post',
							url : '${pageContext.request.contextPath}/add',
							data : {
								dissName:name,
								dissType:type,
								dissMethod:method,
								stu:stu,
							},
							dataType : 'json',
							success : function(r) {
										$('#dd').dialog('close');
								},
								error : function(r) {
									$.messager.alert('Warning', r.msg);
							}	
						});
			}
function closed(){
				$('#dd').dialog('close');
}
function warn(){
				
}


  
</script>
            <form action="${pageContext.request.contextPath}/mediu/save" method="post">
          <div style="width:auto">
            <div > <br>
              <p align="center"><b><font size="4">吉林大学珠海学院毕业论文（设计）中期检查表</p>
              </b></font>
              <table width="100%"   class="table table-hover table-bordered" >
                <tbody>
                  <tr>
                    <th width="50px" class="info" >选题名称</th>
                    <th width="75%" align="center" class="info">${dp.thesistitle_name}</th>
                  </tr>
                </tbody>
              </table>
             
              <table class="table table-hover table-bordered">
                <tbody align="right" >
                  <tr >
                    <td width="10%"><p>院系：</p></td>
                    <td width="10%"><p>${dp.department_name}</p></td>
                    <td width="10%"><p>专业：</p></td>
                    <td width="10%"><p>${dp.major_name}</p></td>  
                    <td width="10%"><p>学生姓名：</p></td>
                    <td	width="10%"><p>${dp.student_name}</p></td>
                   <td width="20%"><p>指导老师：</p></td>
                    <td width="10%"><p>${dp.teacher_name}</p></td>
                  </tr>
                  <tr>
                    
               <input name="medium.medium_student" type="hidden" value="${dp.stu_rela_thesis_id}"></input>
                    
                  </tr>
                  <tr> 
                  
                    <td><p>班级：</p></td>
                    <td><p>${dp.student_xzb}</p></td>
                    <td><p>层次：</p></td>
                    <td><p>本科</p></td> 
                    <td><p></p></td>
                    <td><p></p></td>
                    <td><p>职称：</p></td>
                    <td><p>${dp.zhicheng_name}</p></td>
                   
                  </tr>
                 
                  <tr>
                    <td><p>工作量</p></td>
                    <td>
                    <select name="medium.medium_workload"  id="medium_workload">
                    <option value="A" >饱和</option>
                    <option value="B" >一般</option>
                    <option value="C" >不够</option>
                    </select></td>
                     <td ><p>题目难度</p></td>
                     <td><select name="medium.medium_difficulty">
                    <option value="A" >大</option>
                    <option value="B" >适中</option>
                    <option value="C" >不够</option>
                    </select>
                    </td> 
                     <td><p>知识点</p></td>
                     <td><select name="medium.medium_richness">
                    <option value="A" >丰富</option>
                    <option value="B" >比较丰富</option>
                    <option value="C" >较少</option>
                    </select></td>
                     <td><p>学生态度</p></td>
                     <td><select name="medium.medium_attitude">
                    <option value="A" >认真</option>
                    <option value="B" >一般</option>
                    <option value="C" >较差</option>
                    </select></td>
                
                  </tr>
                   <tr>
                   <td  colspan="2" align="right"><p>指导记录是否齐全</p></td>
                   <td>
                   <select name="medium.medium_readiness">
                    <option value="A" >齐全</option>
                    <option value="B" >不齐全</option>
                    </select></td>
                    
                     <td align="right"><p>出勤考核方式</p></td>
                     <td><select name="medium.medium_checkway">
                    <option value="A" >正常出勤</option>
                    <option value="B" >由实习单位考核出勤</option>
                    <option value="C" >未正常出勤</option>
                    </select></p></td>
                    
                     <td colspan="2" align="right"><p>是否独立完成任务</p></td>
                     <td><select name="medium.medium_independent">
                    <option value="A" >是</option>
                    <option value="B" >否</option>
                    </select></p></td>
               
                    <tr>     
                     <td colspan="2" align="right"><p>毕业论文工作进度</p></td>
                     <td><select name="medium.medium_progress">
                    <option value="A" >按时完成</option>
                    <option value="B" >基本按时完成</option>
                    <option value="C" >未按时完成</option>
                    </select></p></td>
               <td colspan="2" align="right"><p>学生与指导教师见面接受指导次数</p></td>
               <td><select name="medium.medium_guidetimes">
                    <option value="1" >1次</option>
                    <option value="2" >2次</option>
                    <option value="3" >3次</option>
                    <option value="4" >4次</option>
                    <option value="5" >5次</option>
                    </select></p></td>
                  <td >指导论文时间：</td><td><p><input class="easyui-validatebox"  data-options="required:true" name="medium.medium_guidetime" type="text" id="date" value="${dp.medium_guidetime}"></p></td>
                    
              </table>
             
              <table class="table table-hover table-bordered">
                <tbody>
                
                  <tr>
<!--                   <td >指导论文时间：</td><td><p><input name="medium.medium_guidetime" type="text" id="datepicker"></p></td>
 -->                  </tr>
                   <tr>
                   
                   <td width="10%" >地点：</td>
                    <td width="40%" ><input class="easyui-validatebox"  data-options="required:true" type="text" style="width:100%;" name="medium.medium_guideplace" value="${dp.medium_guideplace}">
                       </td>
                       <td width="10%" >其他检查内容：</td>
                    <td width="40%" ><input class="easyui-validatebox"  data-options="required:true" type="text" style="width:100%;" name="medium.medium_othercontent" value="${dp.medium_othercontent}">
                       </td>
                  </tr>
					         
                  <tr>
                    <td width="10%">存在问题及拟采取的措施：</td>
                      <td width="40%"> 	<textarea class="easyui-validatebox"  data-options="required:true" style="width:100%;" name="medium.medium_measure" id="medium_measure" rows="3" cols="20">${dp.medium_measure}</textarea></td>
                 	 <td width="10%">指导教师意见：</td>
                      <td width="40%"> 	<textarea class="easyui-validatebox"  data-options="required:true" style="width:100%;" name="medium.medium_tchmemo" id="medium_tchmemo" rows="3" cols="20">${dp.medium_tchmemo}</textarea></td>
                  </tr>
             		

  </tbody>
              </table>
            </div>
          </div><br>
          <div ><input type="submit" value="确认提交" class="btn btn-success "></div>
          </form>
</body>
</html>